pthread:pthread.c
	gcc -o pthread pthread.c -lpthread
clean:
	rm -f pthread

pthread_more:pthread_more.c
	gcc -o pthread_more pthread_more.c -lpthread

pthread_exit:pthread_exit.c
	gcc -o pthread_exit pthread_exit.c -lpthread

pthread_join:pthread_join.c
	gcc -o pthread_join pthread_join.c -lpthread

pthread_join_2:pthread_join_2.c
	gcc -o pthread_join_2 pthread_join_2.c -lpthread

pthread_cancel:pthread_cancel.c
	gcc -o pthread_cancel pthread_cancel.c -lpthread

pthread_detach:pthread_detach.c
	gcc -o pthread_detach pthread_detach.c -lpthread

pthread_attr:pthread_attr.c
	gcc -o pthread_attr pthread_attr.c -lpthread

shiyan8:shiyan8.c
	gcc -o shiyan8 shiyan8.c -lpthread